package com.rybbaby.tss.front.tssSemester.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.front.tssSemester.dao.TssSemesterDao;
import com.rybbaby.tss.front.tssSemester.entity.TssSemester;
import com.rybbaby.tss.front.tssSemester.service.ITssSemesterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * @author 雷春琼
 * @description 学期表数据库操作服务实现
 * @createDate 2017-08-09 下午11:50:14
 */
@Service
@Transactional
public class TssSemesterServiceImp extends BaseServiceImp<TssSemester> implements ITssSemesterService {

    @Autowired
    private TssSemesterDao dao;

    @Override
    public Map<String,Object> queryByDateAndYear(String startDate, String endDate, String particularYear,String id,String schoolId,String type) {
        return dao.queryByDateAndYear(startDate, endDate, particularYear,id,schoolId,type);
    }
}
